<?php
	$config = require_once THINK_PATH.'../common/config.php';

	$part_config = array(
		/*框架配置*/
		'LAYOUT_ON' => true,
		'LAYOUT_NAME' => 'layout',

		/*项目配置*/
		'APP_NAME' => 'π付系统',

		/*数据库配置*/
		'DB_TYPE' => 'mysql',
//		'DB_HOST' => '47.96.41.168',
		'DB_HOST' => 'rm-bp17t4joi267jv052.mysql.rds.aliyuncs.com',
		'DB_NAME' => 'paifu_system',
		'DB_USER' => 'web_paifu',
		'DB_PWD'  => 'qian960hai^_pf',
		'DB_PORT' => '3306',
		'DB_CHARSET' => 'utf8',
		'DB_PREFIX' => 'pf_',


		/*业务级别配置参数*/
		'menus' =>array(
			array(
				array(
					'tip' => '财务管理',
					'link' => 'javascript:void(0)'
				),
				array(
					'tip' => '充值列表',
					'link' => '/recharge/index'
				),
				array(
					'tip' => '兑换列表',
					'link' => '/consume/exchange'
				),
				array(
					'tip' => '套餐消费列表',
					'link' => '/consume/consumeList'
				),
				array(
					'tip' => '项目消耗列表',
					'link' => '/consume/proConsumeList'
				),
				array(
					'tip' => 'jolly订单管理',
					'link' => '/Project/jollyOrder'
				),
				array(
					'tip' => '用户列表',
					'link' => '/consume/userList'
				),
			),
		),
		/*商品所属站点*/
		'FiterControl' => array(
			'cash\Controller\UserController',
			'cash\Controller\ApiController'
		),
		'icons' => array(
			'icon-briefcase','icon-list-alt','icon-user','icon-comment','icon-tasks','icon-credit-card','icon-folder-open','icon-hdd','icon-cloud','icon-cog'
		),
		'open_cache' => false
	);

	$config = array_merge($config,$part_config);

	return $config;
